/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package vlc;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;

/**
 *
 * @author God
 */
public class VLCCanvas extends Canvas
{
    public VLCCanvas()
    {

    }
    public void paint(Graphics g)
    {
        int h = getHeight();
        int w = this.getWidth();
        Image bg = null;
        this.setFullScreenMode(true);
        try
        {
            bg = Image.createImage("/vlcbg1.png");

        }
        catch(Exception ex)
        {
            
        }
        


        g.fillRect(0, 0, w, h);

        g.drawImage(bg, 0, 0, g.TOP | g.LEFT);

        //g.setColor(0xff0000);

        //g.drawString("Vizzy Here...", 11, 22, g.TOP | g.LEFT);

    }

}
